package com.qiangesoft.bootcodegen.pojo.convert;

import com.qiangesoft.bootcodegen.entity.BcgDataSource;
import com.qiangesoft.bootcodegen.pojo.dto.BcgDataSourceDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * <p>
 * 数据源 对象转换工具
 * </p>
 *
 * @author qiangesoft
 * @date 2024-03-28
 */
@Mapper
public interface BcgDataSourceConvert {

    BcgDataSourceConvert INSTANCE = Mappers.getMapper(BcgDataSourceConvert.class);

    BcgDataSourceDTO entityToDto(BcgDataSource entity);

    BcgDataSource dtoToEntity(BcgDataSourceDTO vo);
}